package com.study.proxy.staticp;

public class BuyHousePorxy implements BuyHouse {

	private BuyHouse buyHouse;

	public BuyHousePorxy(BuyHouse buyHouse) {
		this.buyHouse = buyHouse;
	}

	@Override
	public void buyHosue() {
		System.out.println("买房前准备");
		buyHouse.buyHosue();
		System.out.println("买后前装修");
	}


}
